package com.magnusart.scrumppm.model;

import org.junit.Before;

public class TaskSpecification extends BaseSpecification<Task>
{
	
	private TaskBuilder builder;

	@Before
	public void setUp() throws Exception {
		builder = new TaskBuilder();
		
		StoryBuilder sbuilder = new StoryBuilder();
		sbuilder.setID( 1 );
		sbuilder.setTitle( "Story" );
		
		builder.setID( 1 );
		builder.setDescription( "Hejsan" );
		builder.setDone( false );
		builder.setOrder( 0 );
		
		x = new Task( builder );
		y = new Task( builder );
		z = new Task( builder );
		builder.setID( 2 );		
		a = new Task( builder );
	}
}
